.draw {
    height: 100%;
    .draw-container {
        display: flex;
        flex-direction: row;
        height: 100%;
        overflow: auto;
        .draw-left {
            overflow: hidden;
            display: flex;
            flex-direction: column;
            width: 300px;
            padding: 12px;
            background-color: var(--bg-color);
            border-right: 1px solid var(--ct-border-color);
            .header {
                display: flex;
                align-items: center;
                height: 40px;
                padding: 3px;
                background-color: #f7f7fa;
                .item {
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    width: 90px;
                    height: 33px;
                    cursor: pointer;
                    &.active {
                        border-radius: 4px;
                        background-color: var(--bg-color);
                        box-shadow: 0 1px 3px 0 rgba(0, 0, 0, .08);
                    }
                }
            }
            .body {
                flex: 1;
                padding-top: 12px;
                .model-selection {
                    display: flex;
                    justify-content: space-between;
                    width: 100%;
                    .el-radio-button__inner {
                        display: flex;
                        align-items: center;
                        flex-direction: column;
                        width: 132px;
                        height: 52px;
                        border-radius: 4px;
                        background-image: url(/@/assets/web/images/h1.png);
                        background-size: 100% 100%;
                        cursor: pointer;
                        transition: all .3s;
                        color: var(--bg-color);
                        opacity: .7;
                        .n {
                            margin-top: 4px;
                            font-size: 12px;
                        }
                        border: var(--bg-color) 2px solid;
                    }
                    .el-radio-button__original-radio:checked+.el-radio-button__inner, .el-radio-button__inner:hover {
                        opacity: 1;
                        border: #409eff 2px solid;
                    }
                }
                .size-box {
                    display: flex;
                    width: 100%;
                    gap: 20px;
                    margin: 10px 0;
                    .size-item {
                        width: 100%;
                        border: 2px solid #eee;
                        border-radius: 5px;
                        text-align: center;
                        position: relative;
                        cursor: pointer;
                        line-height: 1;
                        .content-text {
                            font-size: 12px;
                            padding: 5px 0;
                        }
                        &.active {
                            border: 2px solid #409eff;
                        }
                    }
                }
                .select-box {
                    display: flex;
                    justify-content: space-between;
                    width: 100%;
                    margin-bottom: 10px;
                }
                .style-select {
                    width: 100%;
                    display: grid;
                    grid-template-columns: repeat(3, 1fr);
                    grid-gap: 10px;
                    margin-bottom: 10px;
                    .style-item {
                        width: 100%;
                        //border-bottom: 2px solid #eee;;
                        //border-radius: 5px;
                        text-align: center;
                        position: relative;
                        cursor: pointer;
                        line-height: 1;
                        .content-text {
                            font-size: 14px;
                            padding: 8px;
                        }
                        &.active {
                            color: #409eff;
                            border-bottom: 2px solid #409eff;
                        }
                    }
                }
                .style {
                    display: grid;
                    grid-template-columns: repeat(2, 1fr);
                    grid-gap: 10px;
                    background-color: #f7f7fa;
                    .style-item {
                        border-radius: 5px;
                        height: 100px;
                        border: 2px solid #eee;
                        position: relative;
                        overflow: hidden;
                        .image {
                            width: 100%;
                            cursor: pointer;
                        }
                        &.active {
                            border: 2px solid #275bff;
                        }
                        .text {
                            display: flex;
                            align-items: center;
                            justify-content: center;
                            width: 100%;
                            height: 24px;
                            position: absolute;
                            bottom: 0;
                            left: 0;
                            backdrop-filter: blur(30px);
                            background-color: rgba(0,0,0,.04);
                            span {
                                color: var(--bg-color);
                                font-size: 12px;
                            }
                        }
                    }
                }
            }
            .footer {
                display: flex;
                flex-direction: column;
                align-items: center;
                justify-content: center;
                border-top: 1px solid #eee;
                padding: 10px 0;
            }
        }
        .draw-main {
            flex: 1;
            height: 100%;
            position: relative;
            display: flex;
            box-sizing: border-box;
            padding: 30px;
            background-image: url(/@/assets/web/images/body-bg.png);
            background-repeat: no-repeat;
            background-size: 100%;
            background-position-y: 0;
            .header {
                display: none;
            }
            .content {
                display: flex;
                width: 100%;
                height: 100%;
                .draw-result {
                    position: relative;
                    padding: 1rem!important;
                    border-radius: 15px;
                    border: var(--pic-border);
                    flex: 1 1;
                    display: flex;
                    overflow: auto;
                    flex-direction: column;
                    align-items: center;
                    justify-content: center;
                    border: 2px dashed #8c8c8c;
                    .draw-result-img {
                        height: 80%;
                        margin: 20px;
                        .image {
                            width: 100%;
                            height: 100%;
                        }
                    }
                    .draw-result-text {
                    }
                }
            }
            .list {
                display: flex;
                flex-direction: column;
                width: 335px;
                margin-left: 20px;
                overflow: hidden;
                .el-card {
                    flex: 1;
                    .el-card__body {
                        padding-top: 0;
                        height: 100%;
                    }
                }
                .content {
                    display: flex;
                    flex-direction: column;
                    height: 95%;
                    .el-scrollbar {
                        overflow: hidden;
                        .item {
                            margin-bottom: 10px;
                            .image  {
                                width: 100%;
                                border-radius: 5px;
                            }
                            &:last-child {
                                margin-bottom: 0;
                            }
                            .image-slot {
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                width: 100%;
                                height: 238px;
                                background: var(--el-fill-color-light);
                                color: var(--el-text-color-secondary);
                                font-size: 30px;
                                cursor: pointer;
                            }
                        }
                    }
                    .pagination {
                        display: flex;
                        justify-content: center;
                        margin-top: 20px;
                    }
                }
            }
        }
    }
}
// 手机版
@media screen and (max-width: 768px) {
    .draw {
        .draw-container {
            flex-direction: column;
            .draw-left {
                display: none;
                position: absolute;
                height: 100%;
                top: 0;
                z-index: 999;
                &.is_menu {
                    display: flex;
                }
                .body-scrollbar {
                    flex: 1;
                }
            }
            .draw-main {
                display: flex;
                flex-direction: column;
                padding: 0;
                .header {
                    display: block;
                    height: 56px;
                    padding: 0 16px;
                    background-color: var(--bg-color);
                    border-bottom: 1px solid var(--ct-border-color);
                    .top {
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        height: 100%;
                        .logo {
                            padding: 8px;
                            height: 100%;
                            img {
                                height: 100%;
                            }
                        }
                    }
                }
                .content {
                    flex: 1;
                    padding: 20px;
                }
                .list {
                    display: none;
                    margin: 20px 0;
                    width: 100%;
                    .el-card {
                        .el-card__body {
                            padding-top: 0;
                            height: 400px;
                        }
                    }
                }
            }
        }
    }
}
html {
    &.dark {
        .draw {
            .draw-container{
                .draw-main {
                    background-image: none !important;
                }
            }
        }
        .draw-left {
            .header {
                display: flex;
                align-items: center;
                height: 40px;
                padding: 3px;
                background-color: var(--bg-color-pale) !important;
            }
        }
    }
}
